package com.ht.module.file.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ht.module.file.entity.FileFolder;
import com.ht.module.file.entity.FileInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author hejialun
 * @ClassName FileAndFolder
 * @description: TODO（文件和文件夹一起的vo）
 * @Date: 2024/6/12 10:55
 */
@Data
@Accessors(chain = true)
public class FileAndFolderVo {

    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("类型：文件or文件夹  file-folder")
    private String type;

    @ApiModelProperty("文件信息")
    private FileInfo fileInfo;

    @ApiModelProperty("文件夹信息")
    private FileFolder fileFolder;

    @ApiModelProperty("创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateDate;

    @ApiModelProperty("修改人")
    private String updateUser;



}
